package com.lyf.scm.common.enums;

/**
 * description:操作状态枚举
 *
 * @author: huangtao
 * @data: 2020/9/18
 */
public enum OperationStatusEnum {

    /**
     * 处理中
     */
    PROCESSING(0,"处理中"),
    /**
     * 成功
     */
    SUCCESS(1,"成功"),
    /**
     * 失败
     */
    FAIL(2,"失败");

    private Integer type;
    private String desc;

    OperationStatusEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
